package com.osi.mes.print;

/**
 * 对应条码规则表YF_BARCODE_RULE
 * @author Nemo
 *
 */
public class BarCodeRule {
	/**
	 * QAD号
	 */
	private String partNumber;
	/**
	 * 条码类型
	 */
	private int barcodeType;
	/**
	 * 起始号码
	 */
	private int startSn;
	/**
	 * 条码规则
	 */
	private String barcodeRule;
	/**
	 * 进制
	 */
	private String radix;
	/**
	 * 进制字符集
	 */
	private String snDigits;
	/**
	 * 年类型
	 */
	private String yearType;
	/**
	 * 月类型
	 */
	private String monthType;
	/**
	 * 日类型
	 */
	private String dayType;
	/**
	 * 儒月日
	 */
	private boolean isJulianDate;
	/**
	 * 校验码
	 */
	private String checkSum;
	/**
	 * 校验码字符集
	 */
	private String checkSumDigits;
	/**
	 * 模板地址
	 */
	private String template;
	
	//NATIVE
	/**
	 * 生成的条码
	 */
	private String barCode;
	/**
	 * 顺序号
	 */
	private String sn;
	/**
	 * 年月日号
	 */
	private String ymdCode;
	
	
	public String getSn() {
		return sn;
	}
	public void setSn(String sn) {
		this.sn = sn;
	}
	public String getYmdCode() {
		return ymdCode;
	}
	public void setYmdCode(String ymdCode) {
		this.ymdCode = ymdCode;
	}
	public String getBarCode() {
		return barCode;
	}
	public void setBarCode(String barCode) {
		this.barCode = barCode;
	}
	public String getPartNumber() {
		return partNumber;
	}
	public void setPartNumber(String partNumber) {
		this.partNumber = partNumber;
	}
	public int getBarcodeType() {
		return barcodeType;
	}
	public void setBarcodeType(int barcodeType) {
		this.barcodeType = barcodeType;
	}
	public int getStartSn() {
		return startSn;
	}
	public void setStartSn(int startSn) {
		this.startSn = startSn;
	}
	public String getBarcodeRule() {
		return barcodeRule;
	}
	public void setBarcodeRule(String barcodeRule) {
		this.barcodeRule = barcodeRule;
	}
	public String getRadix() {
		return radix;
	}
	public void setRadix(String radix) {
		this.radix = radix;
	}
	public String getSnDigits() {
		return snDigits;
	}
	public void setSnDigits(String snDigits) {
		this.snDigits = snDigits;
	}
	public String getYearType() {
		return yearType;
	}
	public void setYearType(String yearType) {
		this.yearType = yearType;
	}
	public String getMonthType() {
		return monthType;
	}
	public void setMonthType(String monthType) {
		this.monthType = monthType;
	}
	public String getDayType() {
		return dayType;
	}
	public void setDayType(String dayType) {
		this.dayType = dayType;
	}
	public boolean isJulianDate() {
		return isJulianDate;
	}
	public void setJulianDate(boolean isJulianDate) {
		this.isJulianDate = isJulianDate;
	}
	public String getCheckSum() {
		return checkSum;
	}
	public void setCheckSum(String checkSum) {
		this.checkSum = checkSum;
	}
	public String getCheckSumDigits() {
		return checkSumDigits;
	}
	public void setCheckSumDigits(String checkSumDigits) {
		this.checkSumDigits = checkSumDigits;
	}
	public String getTemplate() {
		return template;
	}
	public void setTemplate(String template) {
		this.template = template;
	}

}
